import java.util.ArrayList;

public class Utils {

	public static String[] removeHiddleDir(String[] dirs) {
		ArrayList<String> newDirs = new ArrayList<String>();
		for (int i = 0; i < dirs.length; i++) {
			if(dirs[i].startsWith(".")) {
				continue;
			}
			newDirs.add(dirs[i]);
		}
		String[] result = new String[newDirs.size()];
		return newDirs.toArray(result);
	}

}
